<%-- 
    Document   : error
    Created on : May 25, 2012, 9:22:50 PM
    Author     : Zakharov
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page isErrorPage="true"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Error Page</title>
    </head>
    <body>
        <center><font size="5"> Error Page </font></center>
        <b>
            <%=exception.getMessage()%>
            <% for (StackTraceElement stackTraceElement : exception.getStackTrace()) {
            %>
            <br>
            <%      out.println("Classname: " + stackTraceElement.getClassName() + ";   Method: " + stackTraceElement.getMethodName()
                        + ";   LineNumber: " + stackTraceElement.getLineNumber());%>
            <br>
            <%
                }
            %>

        </b>
        <br><br>
        <a href="index.jsp">Назад</a>
    </body>
</html>
